package com.github.pig.admin.model.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author 
 */
@Data
@TableName("channel_source")
public class ChannelSource implements Serializable {
    private Integer id;

    /**
     * 渠道来源
     */
    private String name;

    /**
     * 排序
     */
    private Integer orderNum;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 是否删除  -1：已删除  0：正常
     */
    private String delFlag;

    /**
     *  父级Id
     */
    private Integer parentId;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return "ChannelSource{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", orderNum=" + orderNum +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delFlag='" + delFlag + '\'' +
                ", parentId=" + parentId +
                '}';
    }
}